//商品表

using System.Collections.Generic;

namespace Mall.Api.Entity
{
    /// <summary>
    ///商品表
    /// </summary>
    public class Commodity : BaseEntity
    {

        //商品编号
        public string ProductCode { get; set; }
        //商品名称
        public string ProductName { get; set; }
        //简介
        public string Introduction { get; set; }
        //封面图片
        public string CoverPicture {get;set;}
        //分类Id
        public int ClassId { get; set; }
        //供应商Id
        public int SupplierId { get; set; }
      
        //基本价格
        public double Price { get; set; }
        //原基本价格
        public double OriginalPrice { get; set; }

        public virtual IEnumerable<Comments> Comments { get; set; }
        public virtual IEnumerable<CommodityResources> CommodityResources { get; set; }
        public virtual IEnumerable<CommoditySKU> CommoditySKU { get; set; }
        public virtual IEnumerable<CommodityWarehouse> CommodityWarehouses { get; set; }

        public virtual Class Class { get; set; }
        public virtual Supplier Supplier { get; set; }

      



    }
}